package com.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 绩效登记表数据层
 *
 * @author z 'y
 */
@Mapper
public interface PerformanceLevelMapper {
    /**
     * 查询员工绩效表现对应的绩效工资
     *
     * @param performance the performance
     * @return the performance salary by level
     */
    @Select("select performanceSalary from performancelevel where performanceLevelName = #{performance}")
    double getPerformanceSalaryByLevel(String performance);
}
